package com.bjsxt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bjsxt.domain.AdminBank;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bjsxt.dto.AdminBankDto;

import java.util.List;

/**
* @date:2022/1/7 11:04
* @author:yang
*/
public interface AdminBankService extends IService<AdminBank>{

        /**
         * 分页查询
         * @param page
         * @param bankCard
         * @return
         */
        Page<AdminBank> findByPage(Page<AdminBank> page, String bankCard);

        /**
         * 查询所有银行卡信息
         * @return
         */
        List<AdminBankDto> getAllAdminBanks();
    }
